<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Students Chart</title>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<div id="studentTable"></div>

<script>
    $(document).ready(function(){
        $.ajax({
            url: "http://localhost:8080/students",
            type: "GET",
            success: function(response){
                $('#studentTable').html(response);
            },
            error: function(xhr, status, error) {
                console.error("Error fetching student table:", error);
            }
        });
    });
</script>

</body>
</html>
